<!doctype html>
<html lang="zh">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE11" />
	<title>{{$data.title}}</title>
	<meta name="keywords" content="{{$data.title}}" />
	<meta name="description" content="{{$data.title}}" />
	<meta name="LinkArtifact" content="7000c2fd0c1eff6fc7c2d4b66ac23916">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="format-detection" content="telephone=no">
	<!-- QQ互联 -->
	<meta property="qc:admins" content="3566762547627031606375" />
	<link rel="icon" href="favicon.ico" type="image/x-icon"/>
	<link rel="shortcut icon" href="favicon.ico" type="image/x-icon"/>

	<style type="text/css">
		body {
			_behavior: url({{$smarty.const.APP_URL}}resource/htc/csshover.htc);
		}
	</style>

	<link href="{{$smarty.const.APP_URL}}templates/default/css/base.css" rel="stylesheet" type="text/css">
	<link href="{{$smarty.const.APP_URL}}templates/default/css/home_header.css" rel="stylesheet" type="text/css">
	<link href="{{$smarty.const.APP_URL}}templates/default/css/home_login.css" rel="stylesheet" type="text/css">
	<link href="{{$smarty.const.APP_URL}}templates/default/css/index-new.css" rel="stylesheet" type="text/css">
	<link href="{{$smarty.const.APP_URL}}data/resource/font/font-awesome/css/font-awesome.min.css" rel="stylesheet" />
    <link href="{{$smarty.const.APP_URL}}templates/default/css/user_center/purchase_release.css" rel="stylesheet" type="text/css">
    <link href="{{$smarty.const.APP_URL}}templates/default/css/user_center/purchase_intention.css" rel="stylesheet" type="text/css">
	<!--[if IE 7]>
	<link rel="stylesheet" href="{{$smarty.const.APP_URL}}data/resource/font/font-awesome/css/font-awesome-ie7.min.css">
	<![endif]-->
	<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
	<!--[if lt IE 9]>
	<script src="{{$smarty.const.APP_URL}}data/resource/js/html5shiv.js"></script>
	<script src="{{$smarty.const.APP_URL}}data/resource/js/respond.min.js"></script>
	<![endif]-->
	<!--[if IE 6]>
	<script src="{{$smarty.const.APP_URL}}data/resource/js/IE6_PNG.js"></script>
	<script>
		DD_belatedPNG.fix('.pngFix');
	</script>
	<script>
		// <![CDATA[
if((window.navigator.appName.toUpperCase().indexOf("MICROSOFT")>=0)&&(document.execCommand))
try{
document.execCommand("BackgroundImageCache", false, true);
   }
catch(e){}
// ]]>
</script>
<![endif]-->
	<script>
		var COOKIE_PRE = 'BC18_';var _CHARSET = 'utf-8';var SITEURL = 'http://zhaojinyin.cc';var RESOURCE_URL = 'http://zhaojinyin.cc/data/resource';var TEMPLATES_URL = 'http://zhaojinyin.cc/templates/default';
	</script>
	<script src="{{$smarty.const.APP_URL}}data/resource/js/jquery/$.js"></script>
	<script src="{{$smarty.const.APP_URL}}data/resource/js/common.js" charset="utf-8"></script>
	<script src="{{$smarty.const.APP_URL}}data/resource/js/jquery/ui/$.ui.js"></script>
	<script src="{{$smarty.const.APP_URL}}data/resource/js/jquery/$.validation.min.js"></script>
	<script src="{{$smarty.const.APP_URL}}data/resource/js/jquery/$.masonry.js"></script>
    <!--<script type="text/javascript" src="js/jquery-1.11.1.min.js"></script>-->
	<script src="{{$smarty.const.APP_URL}}data/resource/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>
	<script type="text/javascript">
	<!-- 左侧下拉列表箭头变化jq -->
	$(document).ready(function(){
  		$(".wrap-menu-li1").click(function(){
    		//$(this).css("background-position","180px top");
			if($(this).css("background-position")=='180px 100%'){
					$(this).css("background-position","180px top");
				}
			else {
					$(this).css("background-position","180px bottom");
				};
 	 	});
	});
	<!-- 右侧内容隐藏下拉列表jq -->
	$(document).ready(function(){
  		$(".biaoti_1").click(function(){
  		$(".xuanze_2_hide").toggle(1000);
  		});
	});
</script>
</head>
<body style="min-width: 1200px;">
<!--会员中心头部start-->
{{include file="{{$smarty.const.APP_PATH}}Home/View/User_center/user_center_header.html"}}
<!--会员中心头部end-->
<!-- 本页头部start -->
{{include file="{{$smarty.const.APP_PATH}}Home/View/User_center/user_center_top.html"}}
<!--本页头部end-->
<!-- 中间内容 -->
<section>
	<div id="main">
        <!-- 左边start -->
		{{include file="{{$smarty.const.APP_PATH}}Home/View/User_center/user_center_lefter.html"}}
		<!--左边end-->
        <!-- 右边 -->
    	<div class="main_right">
    		<div class="right_title">我的供应订单</div>
    		<ul class="right_nav">
	        	<li class="right_nav_li1">全部订单</li>
	        	<!--<li class="right_nav_li2">待付款</li>
	        	<li class="right_nav_li3">已付款</li>
	        	<li class="right_nav_li4">已发货</li>
	        	<li class="right_nav_li5">交易成功</li>-->
        	</ul>
        	<table style="border-top:1px solid #ccc;" id="tab1">
        		<tr>
					<td>订单编号</td>
					<td>下单时间</td>
					<td>采购商</td>
					<td>金额</td>
					<td>状态</td>
					<td>操作</td>
        		</tr>
        		{{foreach from=$order_list item=i key=k}}
				<tr>
					<td>{{$i.order_sn}}</td>
					<td>{{$i.order_time|date_format:'%Y-%m-%d %H:%M:%S'}}</td>
					<td>{{$i.buyer_name}}</td>
					<td>￥{{$i.order_amount}}</td>
					<td>
						{{if $i.order_state_id==1}}未付款{{/if}}
                        {{if $i.order_state_id==2}}已付款{{/if}}
                        {{if $i.order_state_id==3}}已发货{{/if}}
                        {{if $i.order_state_id==4}}已收货{{/if}}
                        {{if $i.order_state_id==5}}已评价{{/if}}
                        {{if $i.order_state_id==6}}已完成{{/if}}
					</td>
					<td><a href="/user_center/supply_order_edit/{{$i.order_id}}">查看</a></td>
				</tr>
				{{/foreach}}

        	</table>
        	<!--<table style="border-top:1px solid #ccc; display: none;" id="tab2">
        		<tr>
					<td>下单时间</td>
					<td>订单详情</td>
					<td>供货商</td>
					<td>金额</td>
					<td>状态</td>
					<td>操作</td>
        		</tr>
				<tr>
					<td>2016-01-12 12:31</td>
					<td>供应银锭</td>
					<td>金贵银业</td>
					<td>￥12000.00</td>
					<td>待付款</td>
					<td><a href="/user_center/supply_order_edit">编辑</a></td>
				</tr>
				<tr>
					<td>2016-01-12 12:31</td>
					<td>供应银锭</td>
					<td>金贵银业</td>
					<td>￥12000.00</td>
					<td>待付款</td>
					<td><a href="/user_center/supply_order_edit">编辑</a></td>
				</tr>
				<tr>
					<td>2016-01-12 12:31</td>
					<td>供应银锭</td>
					<td>金贵银业</td>
					<td>￥12000.00</td>
					<td>待付款</td>
					<td><a href="/user_center/supply_order_edit">编辑</a></td>
				</tr>
				<tr>
					<td>2016-01-12 12:31</td>
					<td>供应银锭</td>
					<td>金贵银业</td>
					<td>￥12000.00</td>
					<td>待付款</td>
					<td><a href="/user_center/supply_order_edit">编辑</a></td>
				</tr>
				
        	</table>
        	<table style="border-top:1px solid #ccc; display: none;" id="tab3">
        		<tr>
					<td>下单时间</td>
					<td>订单详情</td>
					<td>供货商</td>
					<td>金额</td>
					<td>状态</td>
					<td>操作</td>
        		</tr>
				<tr>
					<td>2016-01-12 12:31</td>
					<td>供应银锭</td>
					<td>金贵银业</td>
					<td>￥12000.00</td>
					<td>已付款</td>
					<td><a href="/user_center/supply_order_edit">编辑</a></td>
				</tr>
				<tr>
					<td>2016-01-12 12:31</td>
					<td>供应银锭</td>
					<td>金贵银业</td>
					<td>￥12000.00</td>
					<td>已付款</td>
					<td><a href="/user_center/supply_order_edit">编辑</a></td>
				</tr>
				<tr>
					<td>2016-01-12 12:31</td>
					<td>供应银锭</td>
					<td>金贵银业</td>
					<td>￥12000.00</td>
					<td>已付款</td>
					<td><a href="/user_center/supply_order_edit">编辑</a></td>
				</tr>
				
        	</table>
        	<table style="border-top:1px solid #ccc; display: none;" id="tab4">
        		<tr>
					<td>下单时间</td>
					<td>订单详情</td>
					<td>供货商</td>
					<td>金额</td>
					<td>状态</td>
					<td>操作</td>
        		</tr>
				<tr>
					<td>2016-01-12 12:31</td>
					<td>供应银锭</td>
					<td>金贵银业</td>
					<td>￥12000.00</td>
					<td>已发货</td>
					<td><a href="/user_center/supply_order_edit">编辑</a></td>
				</tr>
				<tr>
					<td>2016-01-12 12:31</td>
					<td>供应银锭</td>
					<td>金贵银业</td>
					<td>￥12000.00</td>
					<td>已发货</td>
					<td><a href="/user_center/supply_order_edit">编辑</a></td>
				</tr>
				<tr>
					<td>2016-01-12 12:31</td>
					<td>供应银锭</td>
					<td>金贵银业</td>
					<td>￥12000.00</td>
					<td>已发货</td>
					<td><a href="/user_center/supply_order_edit">编辑</a></td>
				</tr>
				<tr>
					<td>2016-01-12 12:31</td>
					<td>供应银锭</td>
					<td>金贵银业</td>
					<td>￥12000.00</td>
					<td>已发货</td>
					<td><a href="/user_center/supply_order_edit">编辑</a></td>
				</tr>
				<tr>
					<td>2016-01-12 12:31</td>
					<td>供应银锭</td>
					<td>金贵银业</td>
					<td>￥12000.00</td>
					<td>已发货</td>
					<td><a href="/user_center/supply_order_edit">编辑</a></td>
				</tr>

        	</table>
        	<table style="border-top:1px solid #ccc; display: none;" id="tab5">
        		<tr>
					<td>下单时间</td>
					<td>订单详情</td>
					<td>供货商</td>
					<td>金额</td>
					<td>状态</td>
					<td>操作</td>
        		</tr>
				<tr>
					<td>2016-01-12 12:31</td>
					<td>供应银锭</td>
					<td>金贵银业</td>
					<td>￥12000.00</td>
					<td>交易成功</td>
					<td><a href="/user_center/supply_order_edit">编辑</a></td>
				</tr>
				<tr>
					<td>2016-01-12 12:31</td>
					<td>供应银锭</td>
					<td>金贵银业</td>
					<td>￥12000.00</td>
					<td>交易成功</td>
					<td><a href="/user_center/supply_order_edit">编辑</a></td>
				</tr>
				
        	</table>-->

        	<!--<div class="yemian">
                <ul>
                    <li class="li_5"><p>页</p><a href="#">确定</a></li>
                    <li class="li_4"><p>到</p><input type="text"></li>
                    <li class="li_3"><a href="#">下一页</a></li>
                    <li class="li_2"><a href="#">1</a></li>
                    <li class="li_1"><a href="#"></a></li>
                </ul>
            </div>-->
        </div>
        
    </div>
    <div style="clear:both;"></div>
	<!--底部start-->
	{{include file="{{$smarty.const.APP_PATH}}Home/View/User_center/user_center_footer.html"}}
	<!--底部end-->
</section>
<!-- 左侧下拉菜单js样式 -->
<script>
	// var wrap-menu-center=document.getElementsByClassName('wrap-menu-li1');
	//var menu_ul=wrap-menu-center.getElementsByTagName('ul');
	function changebn(obj){
			if(obj.nextElementSibling.style.display=='none'||obj.nextElementSibling.style.display==''){
				obj.nextElementSibling.style.display='block';
			}else{
				obj.nextElementSibling.style.display='none';
			}
		}
	$(document).ready(function(){
		$(".right_nav li").click(function(){    
			$(this).css({color:"#fff",background:"#FF6E03",border:"#FF6E02 1px solid"}).siblings().css({color:"#000",background:"#fff",border:"#ccc 1px solid"});
			if($(this).attr('class')=='right_nav_li1'){

			};    
		})    
	});
</script>
</body>
</html>